<extend name="Public/List/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
            <thead>
            <tr>
                <th width="48" height="30"><input class="check-all" checked="chedked" type="checkbox" value=""></th>
                <th>表名</th>
                <th width="120">数据量</th>
                <th width="120">数据大小</th>
                <th width="160">创建时间</th>
                <th width="120">操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="lists" id="table">
                <tr>
                    <td class="num">
                        <input class="ids" checked="chedked" type="checkbox" name="tables[]" value="{$table.name}">
                    </td>
                    <td>{$table.name}</td>
                    <td>{$table.rows}</td>
                    <td>{$table.data_length|format_bytes}</td>
                    <td>{$table.create_time}</td>
                    <td class="action">
                        <a href="{:U('generate?table='.$table['name'])}" class="btn btn-blue" data-toggle="doajax" data-confirm-msg="确定要操作吗？">生成模型</a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</block>
<block name="pageFooter"></block>